home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
util
/
rexx
/
dock2fkey.lha
/
dock2fkey
next >
Wrap
Text File
|
2002-06-21
|
424b
|
20 lines
/* $VER: dock2key 1.0 $
* AmiDock prefs to FKey
* © by Stefan Haubenthal 2002
*/
if ~show(p,"FKEY.1") then do
address command "run >nil: fkey"
address command waitforport FKEY.1
end
f=1
if open(env,"ENV:Sys/AmiDock.prefs") then do
do while ~eof(env)
parse value readln(env) with "ICON: "args
if args~="" & f<12 then do
address FKEY.1 "addkey F"f "cmd 6 args" args
address FKEY.1 hide
f=f+1
end
end
end